<template>
  <p>home页面</p>
  <el-button @click="toLogin">点击登录</el-button>
</template>

<script>

export default {
  methods:{
      toLogin(){
          this.$router.push('/login')
      }
  }
}
</script>

<style>
</style>